package com.agileboot.attendance.common.enums;

import com.agileboot.common.enums.BasicEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 审批状态枚举
 *
 * @author ruoyi
 */
@Getter
@AllArgsConstructor
public enum ApprovalStatusEnum implements BasicEnum<String> {

    /**
     * 待审批
     */
    PENDING("0", "待审批"),

    /**
     * 已批准
     */
    APPROVED("1", "已批准"),

    /**
     * 已拒绝
     */
    REJECTED("2", "已拒绝");

    private final String value;
    private final String description;
    
    @Override
    public String getValue() {
        return value;
    }
    
    @Override
    public String description() {
        return description;
    }
} 